
package com.fire.eyes.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import cn.afterturn.easypoi.excel.annotation.Excel;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备规格分类对照
 *
 * @author Matthew
 * @Date 2019-01-17 20:14
 */
@TableName("t_mit_device_category_spec")
public class DeviceCategorySpecModel extends Model<DeviceCategorySpecModel> {

    private static final long serialVersionUID = 1L;


    /**
     * 10000-19999为1级分类 19999为未知资产，index
     * 
     */
    @TableField(value="categoryid")
    @Excel(name = "10000-19999为1级分类 19999为未知资产，index")
    private String categoryid;
    /**
     * 站点名称 index
     * 
     */
    @TableField(value="siteid")
    @Excel(name = "站点名称 index")
    private String siteid;
    /**
     * 规格token
     * 
     */
    @TableField(value="spectoken")
    @Excel(name = "规格token")
    private String spectoken;
    /**
     * 创建时间
     * 
     */
    @TableField(value="createtime")
    @Excel(name = "创建时间")
    private String createtime;
    /**
     * 获取: 10000-19999为1级分类 19999为未知资产，index
     * 
     */
    public String getCategoryid() {
        return categoryid;
    }
    /**
     * 设置: 10000-19999为1级分类 19999为未知资产，index
     * 
     */
    public void setCategoryid(String categoryid) {
        this.categoryid = categoryid;
    }
    /**
     * 获取: 站点名称 index
     * 
     */
    public String getSiteid() {
        return siteid;
    }
    /**
     * 设置: 站点名称 index
     * 
     */
    public void setSiteid(String siteid) {
        this.siteid = siteid;
    }
    /**
     * 获取: 规格token
     * 
     */
    public String getSpectoken() {
        return spectoken;
    }
    /**
     * 设置: 规格token
     * 
     */
    public void setSpectoken(String spectoken) {
        this.spectoken = spectoken;
    }
    /**
     * 获取: 创建时间
     * 
     */
    public String getCreatetime() {
        return createtime;
    }
    /**
     * 设置: 创建时间
     * 
     */
    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    @Override
    protected Serializable pkVal() {
        return this.categoryid;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }
}
